package com.pixiv.DAO;

import com.pixiv.Entity.AuditTitlePicture;
import org.apache.ibatis.annotations.Param;

import java.util.HashMap;
import java.util.List;

public interface AuditTitleMapping {

    void insertTempStoragePicture(@Param("userid") int id, @Param("filename") String fileName, @Param("count") int count);
    void uploadAuditPictureTitle();
    void uploadTitle(@Param("id") String id, @Param("cap") String cap,
                     @Param("context") String context, @Param("lab") String label,
                     @Param("age") int age, @Param("orgin") int orgin,
                     @Param("userid") int userid, @Param("date") String date);

    HashMap<String,Object> getTempUserPicture(@Param("id") int id);
    AuditTitlePicture getAuditTitle(@Param("uuid") String uuid);
    void delAuditTitle(@Param("uuid") String uuid);
    void uploadAuditPicture(@Param("path") String path, @Param("uuid") String uuid, @Param("location") int location);
    String getPicture(@Param("uuid") String uuid, @Param("location") int location);
    void delAuditPictures(@Param("uuid") String uuid);

    List<AuditTitlePicture>  getAuditTitles();
    int getPicturesTotal(@Param("uuid")String uuid);
}
